//---------------------------------------------------------------------------

#ifndef SOOTV_TRF_PRIBH
#define SOOTV_TRF_PRIBH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxGroupBox.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "Shablon_Edit.h"
#include <ExtCtrls.hpp>
#include <DB.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include "cxButtons.hpp"
#include <ActnList.hpp>
#include <Menus.hpp>
#include "DBAccess.hpp"
#include "IBC.hpp"
#include "MemDS.hpp"
//---------------------------------------------------------------------------
class TfrSOOTV_TRF_PRIB : public TfrShablon_Edit
{
__published:	// IDE-managed Components
	TDBGrid *sgTRF_PRIB;
	TEdit *edKOD_TRF;
	TLabel *labVREM_KOL;
	TLabel *Label1;
	TLabel *labNAIM_TRF;
	TCheckBox *cbSCHET;
	TCheckBox *cbKOTEL_ODN;
	TCheckBox *cbBPG;
	TCheckBox *cbGOR_VODA;
	TCheckBox *cbPLITA;
	TActionList *ActionList1;
	TAction *SAVE;
	TcxButton *btADD;
	TAction *ADD;
	TcxButton *cxButton2;
	TcxButton *cxButton3;
	TAction *EDIT;
	TAction *DEL;
	TCheckBox *cbKOTEL_DVUHK;
	TCheckBox *cbKOTEL_ODN_BPG;
	TLabel *Label2;
	TCheckBox *cbILI;
	TLabel *Label3;
	TcxButton *cxButton1;
	TCheckBox *cbSCHET1;
	TCheckBox *cbKOTEL_ODN1;
	TCheckBox *cbKOTEL_DVUHK1;
	TCheckBox *cbKOTEL_ODN_BPG1;
	TCheckBox *cbPLITA1;
	TCheckBox *cbBPG1;
	TCheckBox *cbGOR_VODA1;
	TIBCQuery *dsetTRF_PRIB;
	TIBCDataSource *dsTRF_PRIB;
	TAction *actESC;
	void __fastcall sgTRF_PRIBDblClick(TObject *Sender);
	void __fastcall SAVEExecute(TObject *Sender);
	void __fastcall EDITExecute(TObject *Sender);
	void __fastcall ADDExecute(TObject *Sender);
	void __fastcall actESCExecute(TObject *Sender);
private:	// User declarations
public:		// User declarations
int Stat;
	__fastcall TfrSOOTV_TRF_PRIB(TComponent* Owner);
	void __fastcall TfrSOOTV_TRF_PRIB::Obnovi();
	void __fastcall TfrSOOTV_TRF_PRIB::VIDIMOST();
	void __fastcall TfrSOOTV_TRF_PRIB::Redakt();
};
//---------------------------------------------------------------------------
extern PACKAGE TfrSOOTV_TRF_PRIB *frSOOTV_TRF_PRIB;
//---------------------------------------------------------------------------
#endif
